<?php

set_include_path(get_include_path(). PATH_SEPARATOR . 'Lib/');

class AutoLoad {
    public static function loadClass($className){
        echo 'AutoLoad 中的 loadClass '.$className,'<br/>';
        include $className.'.php';
    }


}

spl_autoload_register(array('AutoLoad','loadClass'));

new Test2();
$t1 = new Test3();
$t1->t();